كشف حساب عميل مفصل
{if $message != ""} {$message} {/if} Youtube


{if !$clientid} {/if} {foreach $shownData as $data} {if {$data->clientdebtchangeid} > 0} {assign var="rowspan" value=2} {assign var="products" value=0} {if $data->tablename == "sellbillController.php"} {assign var="products" value=count($productsArr[$data->clientdebtchangemodelid])} {else if $data->tablename == "returnsellbillController.php"} {assign var="products" value=count($productsReArr[$data->clientdebtchangemodelid])} {elseif $data->tablename == "sellbillandruternController.php"} {assign var="products" value=count($productssellAndReArr[$data->clientdebtchangemodelid])} {/if} {assign var="rowspan" value=$products+1} clientdebtchangetype eq 0} class="danger" {else} {/if}> {if !$clientid} {/if} {if {$data->clientdebtchangetype} eq 1} {else} {/if} {if $data->tablename == "sellbillController.php"} {foreach $productsArr[$data->clientdebtchangemodelid] as $prod} {if $prod@first} {else} {/if} {/foreach} {elseif $data->tablename == "returnsellbillController.php"} {foreach $productsReArr[$data->clientdebtchangemodelid] as $prod} {if $prod@first} {else} {/if} {/foreach} {elseif $data->tablename == "sellbillandruternController.php"} {foreach $productssellAndReArr[$data->clientdebtchangemodelid] as $prod} {if $prod@first} {else} {/if} {/foreach} {else} {if $rowspan > 1} {/if} {/if} {/if} {/foreach}
م التاريخاسم العميلاسم العملية رقم الفاتوره البيان الدين قبل اجمالي العملية القيمة المتغيرة الدين بعد التفاصيل
الصنف الكمية السعر الاجمالي الخصم الصافي اضافة خصم
{$data@iteration} {$data->clientdebtchangedate}{$data->clientname}{$data->processname} {if $data->tablename eq "sellbillController.php" || $data->tablename eq "returnsellbillController.php" || $data->tablename eq "sellbillandruternController.php"} {$data->clientdebtchangemodelid} {else} - {/if} {$data->clientdebtchangebefore} {if $data->tablename eq "sellbillandruternController.php" || $data->tablename eq "sellbillController.php" || $data->tablename eq "returnsellbillController.php" } {$data->payedamount} {else} {$data->clientdebtchangeamount} {/if} {$data->clientdebtchangeamount}{$data->clientdebtchangeamount} {$data->clientdebtchangeafter} {if $data->link != "#" && $data->link != ""} التفاصيل {else} - {/if}
{$prod->productName} {$prod->sellbilldetailquantity*$prod->productnumber} {$prod->sellbilldetailprice} {$prod->sellbilldetailtotalprice} {$prod->discountvalue} {$prod->discountvalue + $prod->sellbilldetailtotalprice}
{$prod->productName} {$prod->sellbilldetailquantity*$prod->productnumber} {$prod->sellbilldetailprice} {$prod->sellbilldetailtotalprice} {$prod->discountvalue} {$prod->discountvalue + $prod->sellbilldetailtotalprice}
{$prod->productName} {$prod->returnsellbilldetailquantity*$prod->productnumber} {$prod->returnsellbilldetailprice} {$prod->returnsellbilldetailtotalprice} {$prod->discountvalue} {$prod->discountvalue + $prod->returnsellbilldetailtotalprice}
{$prod->productName} {$prod->returnsellbilldetailquantity*$prod->productnumber} {$prod->returnsellbilldetailprice} {$prod->returnsellbilldetailtotalprice} {$prod->discountvalue} {$prod->discountvalue + $prod->returnsellbilldetailtotalprice}
{$prod->productName} {$prod->sellbilldetailquantity*$prod->productnumber} {$prod->sellbilldetailprice} {$prod->sellbilldetailtotalprice} {$prod->discountvalue} {$prod->discountvalue + $prod->sellbilldetailtotalprice}
{$prod->productName} {$prod->sellbilldetailquantity*$prod->productnumber} {$prod->sellbilldetailprice} {$prod->sellbilldetailtotalprice} {$prod->discountvalue} {$prod->discountvalue + $prod->sellbilldetailtotalprice}

{if {count($shownData)} > 0}
{/if}